package tools;

public class Pair<LEFT,RIGT> 
{
	private LEFT left;
	private RIGT right;
	
	public Pair(LEFT left, RIGT right)
	{
		this.left=left;
		this.right=right;
	}
	public Pair()
	{}
	
	public LEFT getLeft()
	{
		return left;
	}
	public RIGT getRight()
	{
		return right;
	}
	public void setLeft(LEFT val)
	{
		left = val;
	}
	public void setRight(RIGT val)
	{
		right = val;
	}	
	@Override
	public String toString()
	{
		return "[ "+left+","+right+" ]";
	}
}
